package cn.tj212.xiaoyin.core.user.dao;

import cn.tj212.xiaoyin.common.page.TailPage;
import cn.tj212.xiaoyin.core.user.domain.UserMessage;

import java.util.List;

public interface UserMessageDao {

    public UserMessage getById(Long id);

    public List<UserMessage> queryAll(UserMessage queryEntity);

    public Integer getTotalItemsCount(UserMessage queryEntity);

    public List<UserMessage> queryPage(UserMessage queryEntity, TailPage<UserMessage> page);

    public void create(UserMessage entity);

    public void update(UserMessage entity);

    public void updateSelectivity(UserMessage entity);

    public void delete(UserMessage entity);

    public void deleteLogic(UserMessage entity);
}
